package com.wm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 车辆信息
 * </p>
 *
 * @author hyq
 * @since 2023-09-26 21:47:23
 */
@Getter
@Setter
@TableName("car_info")
@ApiModel(value = "CarInfo对象", description = "车辆信息")
public class CarInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("车辆品牌")
    @TableField("brand_id")
    private Integer brandId;

    @ApiModelProperty("车源地")
    @TableField("car_location")
    private String carLocation;

    @ApiModelProperty("车龄")
    @TableField("car_age")
    private Integer carAge;

    @TableField(exist = false)//1:正序，2：倒叙
    private String carAgeType;

    @ApiModelProperty("车价格")
    @TableField("car_price")
    private BigDecimal carPrice;

    @TableField(exist = false)//1:正序，2：倒叙
    private String carPriceType;

    @ApiModelProperty("里程数（万公里）")
    @TableField("mileage")
    private Integer mileage;

    @TableField(exist = false)//1:正序，2：倒叙
    private String mileageType;

    @ApiModelProperty("变速箱")
    @TableField("transmission")
    private String transmission;

    @ApiModelProperty("车身架构")
    @TableField("car_architecture")
    private String carArchitecture;

    @ApiModelProperty("排放标准")
    @TableField("emission_standard")
    private String emissionStandard;

    @ApiModelProperty("能源类型")
    @TableField("energy_type")
    private String energyType;

    @ApiModelProperty("排量")
    @TableField("displacement")
    private String displacement;

    @ApiModelProperty("座椅")
    @TableField("seat")
    private String seat;

    @ApiModelProperty("1：精选车源，2：非精选车源")
    @TableField("choice_car")
    private Integer choiceCar;

    @ApiModelProperty("1：上架，2：下架")
    @TableField("grounding")
    private Integer grounding;

    @ApiModelProperty("上牌时间")
    @TableField("registration_time")
    private LocalDate registrationTime;

    @ApiModelProperty("租户id")
    @TableField("tenant_id")
    private Integer tenantId;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("上架时间")
    @TableField("grounding_time")
    private LocalDateTime groundingTime;

    @ApiModelProperty("检测报告附件地址")
    @TableField("test_report_file_url")
    private String testReportFileUrl;

    @TableField(exist = false)
    private List<String> fileUrlList;//
}
